<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('To_shop')}:</label>
        <div class="col-xs-12 col-sm-8">

            <select  id="c-to_shop" data-rule="required" class="form-control selectpicker" name="row[to_shop]">
                {foreach name="toShopList" item="vo"}
                <option value="{$key}" {in name="key" value="0"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Percent')}%:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-percent" data-rule="required" class="form-control" name="row[percent]" type="number" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Settle_day')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-settle_day" data-rule="required" class="form-control" name="row[settle_day]" type="number" value="">
        </div>
    </div>
    <div class="form-group"><input type="hidden" name="id" value="{$row.id}" class="form-control"></div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed">{:__('OK')}</button>
        </div>
    </div>
</form>